/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tcpserver;
import java.net.*;
import java.io.*;
import java.util.*;
/**
 *
 * @author hpfamily
 */
public class Server {



  private ServerSocket server;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
         new Server().go();
  }
    
    public void go()
    {
        try 
        {
            server = new ServerSocket(19999);
            System.out.println("MultipleSocketServer Initialized");
            while(true)
            {
		Socket client = server.accept();
                ClientConnect clientConnect = new ClientConnect(this, client);
            }
        }
        catch (IOException e)
        {
            System.out.println("Can't connect");
	}
    }
}






   